<?php
$this->pageTitle=Yii::t('site', 'Search Stadium');
?>
<div class="form">
<?php
    $form=$this->beginWidget('CActiveForm', array(
        'id'=>'search-form',
        'action'=>Yii::app()->createUrl('stadium/searchResult'),
        'enableAjaxValidation'=>false,
        'method'=>'get',
    ));
?>
	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
        <?php echo $form->textField($model, 'name'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'sportType'); ?>
        <?php echo $form->dropDownList($model, 'sportType',
                CHtml::listData($sportTypes, 'id', 'name')); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'date'); ?>
        <?php echo $form->dateField($model, 'date'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'startTime'); ?>
        <?php echo $form->timeField($model, 'startTime'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'endTime'); ?>
        <?php echo $form->timeField($model, 'endTime'); ?>
	</div>
    <div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('site', 'Find')); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->